#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
#include "sensor_bs_bmp280.h"


#define BMP_NAME "bmp280"


int bmp280_port(void)
{
    struct rt_sensor_config cfg;
    cfg.intf.dev_name = BMP280_I2CBUS_NAME;
    rt_hw_bmp280_init("bmp280", &cfg);
    return 0;
}
INIT_APP_EXPORT(bmp280_port);
